package com.boot.util;

import org.springframework.stereotype.Component;
import org.springframework.util.ResourceUtils;

import java.io.File;
import java.io.FileNotFoundException;

@Component
public class CommonUtil {

    public static String getClassPath() throws FileNotFoundException {
        return ResourceUtils.getURL("classpath:").getPath();
    }

}
